
#include "xdns-question-info.h"

XdnsQuestionInfo::XdnsQuestionInfo()
: m_qtype(0),
  m_qclass(0),
  m_qname()
{
}

XdnsQuestionInfo::XdnsQuestionInfo(const XdnsQuestionInfo& anotherInfo)
: m_qtype(anotherInfo.m_qtype),
  m_qclass(anotherInfo.m_qclass),
  m_qname(anotherInfo.m_qname)
{
}

XdnsQuestionInfo::~XdnsQuestionInfo()
{
}

XdnsQuestionInfo&
XdnsQuestionInfo::operator=(const XdnsQuestionInfo& anotherInfo)
{
    this->m_qtype = anotherInfo.m_qtype;
    this->m_qclass = anotherInfo.m_qclass;
    this->m_qname = anotherInfo.m_qname;

    return (*this);
}

